package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallGoodsSpecification;
import com.project.mall.bean.generator.CskaoyanmallGoodsSpecificationExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallGoodsSpecificationMapper {
    long countByExample(CskaoyanmallGoodsSpecificationExample example);

    int deleteByExample(CskaoyanmallGoodsSpecificationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallGoodsSpecification record);

    int insertSelective(CskaoyanmallGoodsSpecification record);

    List<CskaoyanmallGoodsSpecification> selectByExample(CskaoyanmallGoodsSpecificationExample example);

    CskaoyanmallGoodsSpecification selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallGoodsSpecification record, @Param("example") CskaoyanmallGoodsSpecificationExample example);

    int updateByExample(@Param("record") CskaoyanmallGoodsSpecification record, @Param("example") CskaoyanmallGoodsSpecificationExample example);

    int updateByPrimaryKeySelective(CskaoyanmallGoodsSpecification record);

    int updateByPrimaryKey(CskaoyanmallGoodsSpecification record);
}